STRCSPN

Section: C Library Functions (3)
Index Return to Main Contents

BSD mandoc
 

NAME

strcspn - span the complement of a string  

SYNOPSIS

Fd #include <string.h> Ft size_t Fn strcspn const char *s const char *charset  

DESCRIPTION

The Fn strcspn function spans the initial part of the null-terminated string Fa s as long as the characters from Fa s do not occur in string Fa charset (it spans the complement of Fa charset ) .  

RETURN VALUES

The Fn strcspn function returns the number of characters spanned.  

SEE ALSO

index(3), memchr(3), rindex(3), strchr(3), strpbrk(3), strrchr(3), strsep(3), strspn(3), strstr(3), strtok(3)  

STANDARDS

The Fn strcspn function conforms to St -ansiC .


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUES
SEE ALSO
STANDARDS

This document was created by man2html, using the manual pages.
Time: 16:28:57 GMT, April 18, 2022